Other Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudget : NSObject - (nonnull instancetype)initWithValue:(nonnull id)value; + (nonnull instancetype)fromMapMemoryBudgetInMegabytes:(nonnull MBMMapMemoryBudgetInMegabytes *)value; + (nonnull instancetype)fromMapMemoryBudgetInTiles:(nonnull MBMMapMemoryBudgetInTiles *)value; - (BOOL)isMapMemoryBudgetInMegabytes; - (BOOL)isMapMemoryBudgetInTiles; - (nonnull MBMMapMemoryBudgetInMegabytes *)getMapMemoryBudgetInMegabytes __attribute((ns_returns_retained)); - (nonnull MBMMapMemoryBudgetInTiles *)getMapMemoryBudgetInTiles __attribute((ns_returns_retained)); @property (nonatomic, nonnull) id value; @property (nonatomic, readonly) MBMMapMemoryBudgetType type; @end
Swift
class MapMemoryBudget : NSObject
-
Map memory budget in megabytes.
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudgetInMegabytes : NSObject
Swift
class MapMemoryBudgetInMegabytes : NSObject
-
Map memory budget in tiles.
See moreDeclaration
Objective-C
@interface MBMMapMemoryBudgetInTiles : NSObject
Swift
class MapMemoryBudgetInTiles : NSObject
-
Geometry for querying rendered features.
See moreDeclaration
Objective-C
@interface MBMRenderedQueryGeometry : NSObject
Swift
class RenderedQueryGeometry : NSObject
-
Various options needed for displaying view annotation.
See moreDeclaration
Objective-C
@interface MBMViewAnnotationOptions : NSObject
Swift
class ViewAnnotationOptions : NSObject
-
Read-only data that is needed to correctly position the single view annotation on screen. Used inside ViewAnnotationPositionsUpdateListener callback to notify the listener about the visible view annotations’ position updates.
See moreDeclaration
Objective-C
@interface MBMViewAnnotationPositionDescriptor : NSObject
Swift
class ViewAnnotationPositionDescriptor : NSObject
-
Undocumented
See moreDeclaration
Objective-C
@interface MBMMapRecorder : NSObject // This class provides custom init which should be called - (nonnull instancetype)init NS_UNAVAILABLE; // This class provides custom init which should be called + (nonnull instancetype)new NS_UNAVAILABLE; /** * Initializes the map recorder object. * * @param map The `map` to record. */ - (nonnull instancetype)initWithMap:(nonnull MBMMap *)map; /** Begins the API call sequence recording. */ - (void)startRecording; /** * Stops the current recording session. * * @return a JSON string which contains the recorded sequence. */ - (nonnull NSString *)stopRecording __attribute((ns_returns_retained)); - (void)replayForContent:(nonnull NSString *)content playbackCount:(int32_t)playbackCount playbackSpeedMultiplier:(double)playbackSpeedMultiplier callback:(nonnull MBMPlaybackFinished)callback; /** Temporarily pauses or resumes playback if already paused. */ - (void)togglePauseReplay; /** Returns the string description of the current state of playback. */ - (nonnull NSString *)getPlaybackState __attribute((ns_returns_retained)); @end
Swift
class MapRecorder : NSObject